//ordercoupon.js


Page({
  data: {
    couponShow: true,
    usecoupon:'0'
  },
  onLoad: function(){
    
  },
  useCoupon: function (e) {
    let that = this;
    that.setData({
      usecoupon:e.currentTarget.dataset.id
    })
  },
  nowUseCoupon: function () {
    wx.navigateBack({
      delta: 1
    })
  },
  unUseCoupon: function () {
    wx.navigateBack({
      delta: 1
    })
  }
})
